// JavaScript Document

function getPageMenu(menuName,divName)
{
	activePageMenu = menuName;
	activePageDiv = divName;
}

function PageMenuActive(objName,divName)
{
	document.getElementById(activePageMenu).className = 'pagemenu';
	document.getElementById(activePageDiv).style.display = 'none';
	document.getElementById(objName).className = 'pagemenu_act';
	document.getElementById(divName).style.display = '';
	activePageMenu = objName;
	activePageDiv = divName;
}
function PageMenuInitActive1()
{
	document.getElementById('div11').style.display = '';
	document.getElementById('div12').style.display = 'none';
	document.getElementById('div13').style.display = 'none';
	document.getElementById('div14').style.display = 'none';
	document.getElementById('div15').style.display = 'none';

}
function PageMenuChild1Active(divName){
    var arrDiv = ['div11','div12','div13','div14','div15'];
    for(var i=0;i<arrDiv.length;i++){
        if(divName == arrDiv[i]){
            document.getElementById(divName).style.display = '';
            document.getElementById(divName+'_1').className = 'pagemenu_actsize7';
        }else{
           document.getElementById( arrDiv[i]).style.display = 'none';  
           document.getElementById(arrDiv[i]+'_1').className = 'pagemenusize7';
        }
    }
}
function PageMenuInitActive2()
{
	document.getElementById('div21').style.display = '';
	document.getElementById('div22').style.display = 'none';
	document.getElementById('div23').style.display = 'none';
}
function PageMenuChild2Active(divName){
    var arrDiv = ['div21','div22','div23'];
    for(var i=0;i<arrDiv.length;i++){
        if(divName == arrDiv[i]){
            document.getElementById(divName).style.display = '';
            document.getElementById(divName+'_1').className = 'pagemenu_actsize7';
        }else{
           document.getElementById( arrDiv[i]).style.display = 'none';  
           document.getElementById(arrDiv[i]+'_1').className = 'pagemenusize7';
        }
    }
}
function PageMenuInitActive3()
{
	document.getElementById('div31').style.display = '';
	document.getElementById('div32').style.display = 'none';

}
function PageMenuChild3Active(divName){
    var arrDiv = ['div31','div32'];
    for(var i=0;i<arrDiv.length;i++){
        if(divName == arrDiv[i]){
            document.getElementById(divName).style.display = '';
            document.getElementById(divName+'_1').className = 'pagemenu_actsize7';
        }else{
           document.getElementById( arrDiv[i]).style.display = 'none';  
           document.getElementById(arrDiv[i]+'_1').className = 'pagemenusize7';
        }
    }
}
function PageMenuInitActive4()
{
	document.getElementById('div41').style.display = '';
	document.getElementById('div42').style.display = 'none';
	document.getElementById('div43').style.display = 'none';
}
function PageMenuChild4Active(divName){
    var arrDiv = ['div41','div42','div43'];
    for(var i=0;i<arrDiv.length;i++){
        if(divName == arrDiv[i]){
            document.getElementById(divName).style.display = '';
            document.getElementById(divName+'_1').className = 'pagemenu_actsize7';
        }else{
           document.getElementById( arrDiv[i]).style.display = 'none';  
           document.getElementById(arrDiv[i]+'_1').className = 'pagemenusize7';
        }
    }
}
function PageMenuInitActive5()
{
	document.getElementById('div51').style.display = '';
	document.getElementById('div52').style.display = 'none';

}
function PageMenuChild5Active(divName){
    var arrDiv = ['div51','div52'];
    for(var i=0;i<arrDiv.length;i++){
        if(divName == arrDiv[i]){
            document.getElementById(divName).style.display = '';
            document.getElementById(divName+'_1').className = 'pagemenu_actsize7';
        }else{
           document.getElementById( arrDiv[i]).style.display = 'none';  
           document.getElementById(arrDiv[i]+'_1').className = 'pagemenusize7';
        }
    }
}